<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>show</title>
	<meta name="author" content="n" />
	<!-- Date: 2011-11-11 -->
	
<style>
body{
	font-family: meiryo, verdana;
}

table{
	width: 70%;
}
table td,th{
	border-top: 1px solid green;
	font-size: 13px;
}
table tr:hover{
	background-color: #E4F0EC;
}
	
</style>

</head>

<body>


<h1><?php echo $company->kaisha_mei ?></h1>
<?php if (isset($message)) echo "<font color='red'>$message</font>"?>
<hr>
<a href="/admin">admin</a>&nbsp;
<a href="/admin/edit/<?php echo $company->id?>">編集</a>&nbsp;
<a href="/admin/addnew">追加</a>
<br>
<table>
<?php foreach ($company as $key => $value) if ($key != "delete_tag") {?>
	<tr>
		<th><?php echo $key?></th>
		<td><?php echo nl2br($value)?></td>
	</tr>
<?php }?>
</table>


<hr>
<h2>Meta Info</h2>

<table>
<?php foreach ($company_meta as $key => $value) if ($key!="id" && $key!="company_id"){?>
	<tr>
		<th><?php echo $key?></th>
		<td><?php echo nl2br($value)?></td>
	</tr>
<?php }?>
</table>

<hr>
<a href="/admin">admin</a>&nbsp;
<a href="/admin/edit/<?php echo $company->id?>">編集</a>&nbsp;
<a href="/admin/addnew">追加</a>

</body>

</html>
